package com.cn.ant.modules.score.dao;

import com.cn.ant.common.persistence.CrudDao;
import com.cn.ant.common.persistence.MyBatisRepository;
import com.cn.ant.modules.score.entity.BatchLine;

import java.util.List;
import java.util.Map;

/**
 * 批次线DAO接口
 * @author AntDream
 * @version 2015-08-18
 */
@MyBatisRepository
public interface BatchLineDao extends CrudDao<BatchLine> {

    public int batchInsert(List<BatchLine> list);

    public List<Map<String, Object>> queryByYear(int year);

    public List<Map<String, String>> batchList(Map<String, String> params);

}